package com.echo.register.commons.proto;

import com.echo.register.commons.annotation.VNotEmpty;

/**
 * @program: com.echo.voter
 * @description: 点赞操作
 * @author: Xiaoti
 * @create: 2018-11-01 10:08
 **/
public class VoteReq {

    @VNotEmpty(message = "候选人ID不能为空")
    private String cadidateId;

    @VNotEmpty(message = "奖项分组不能为空")
    private String cadidateGroup;

    public String getCadidateId(){
        return cadidateId;
    }

    public void setCadidateId(String cadidateId){
        this.cadidateId = cadidateId;
    }

    public String getCadidateGroup(){
        return cadidateGroup;
    }

    public void setCadidateGroup(String cadidateGroup){
        this.cadidateGroup = cadidateGroup;
    }

    @Override
    public String toString(){
        return "VoteReq{" +
                "cadidateId='" + cadidateId + '\'' +
                ", cadidateGroup='" + cadidateGroup + '\'' +
                '}';
    }
}
